package com.shycloud.mido.task.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 充值比例表
 */
@Data
@TableName(value = "sm_recharge_ratio")
public class SmRechargeRatio {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/** 价格 */
	@TableField(value = "money")
	private BigDecimal money;
	/** 单位 */
	@TableField(value = "unit")
	private String unit;
	/** 虚拟币数量 */
	@TableField(value = "gold_count")
	private Integer goldCount;
	/** IOS 专属 Code */
	@TableField(value = "ios_code")
	private String iosCode;
	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;
	/** 更新时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	public static final String COL_ID = "id";

	public static final String COL_MONEY = "money";

	public static final String COL_UNIT = "unit";

	public static final String COL_GOLD_COUNT = "gold_count";

	public static final String COL_IOS_CODE = "ios_code";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_UPDATE_TIME = "update_time";
}